package wzt.com.JiaBangMang.User;

import org.apache.mina.core.session.IoSession;

public class NetUser implements INetUser {
	private String userName;
	private IoSession netSession;
	
	public NetUser(String userName)
	{
		this.userName = userName;
	}
	
	public void setNetSession(IoSession netSession)
	{
		this.netSession = netSession;
	}
	
	@Override
	public String getUserName() {
		return this.userName;
	}

	@Override
	public IoSession getNetSession() {
		return this.netSession;
	}

}
